SpotCheck Logo

Compiling with Sun JDK:

JDK has no project documents, so compilation is a good deal simpler that it is using CodeWarrior. There are only a few wrinkles. First, if your project contains several .java files, they often need to be compiled at the same time. Rather than attempting to be too clever just yet, SpotCheck simply simulates dragging dropping all your .java files onto the Java Compiler, regardless of whether you indicated "Compile Project" or "Compile .java File".

The "Build & Run Project" command does not function as advertised... it will only run the project. You must compile the project explicitly before executing it.

If you use JDK, you may have discovered the settings that make the compiler run faster. We find using the Java Compiler much more pleasant if we disable threaded compiles, debugger info, and code optimization. See the "Properties..." command in the "File" menu of the Java Compiler application. Be sure to hit the "OK" button to make your changes permanent.

Return to LessonSpotCheck Logo

© 1997 GenieWorks, LLC. All rights reserved